package com.bojiu.lawsearch.lawsearch.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.apache.poi.ss.formula.functions.Na;

import javax.persistence.Column;
import javax.persistence.Table;

/**
 * @author: afdiao
 * @Date：2020/3/24 15:38
 * @Description:
 */
@ApiModel(value = "用户的余额以及积分信息",description = "用户的余额以及积分")
@Table(name = "mst_user_account")
@Data
public class UserAccount {

    @ApiModelProperty(value = "id",required = false)
    private Integer id;

    /**
     * 用户余额  单位分
     */
    @ApiModelProperty(value = "人员余额，单位分",required = false)
    @Column(name = "account")
    private Integer account;

    /**
     * 积分
     */
    @ApiModelProperty(value = "人员积分",required = false)
    @Column(name = "integral")
    private Integer integral;

    @ApiModelProperty(value = "人员id",required = false)
    @Column(name = "user_id")
    private Integer user_id;
}
